package com.woniu.config;

import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import org.springframework.web.client.RestTemplate;

/**
 * @author jiang
 */
@Configuration
public class RestTemplateBeanFactory {
    @Bean
    public RestTemplate createRestTemplate() {
        return new RestTemplate();
    }

}
